Skip to content

fix: prevent Enter from submitting during IME composition#33

Open
UnsongK wants to merge 1 commit intolsdefine:mainfrom
UnsongK:fix/ime-composition
Open

fix: prevent Enter from submitting during IME composition#33
UnsongK wants to merge 1 commit intolsdefine:mainfrom
UnsongK:fix/ime-composition

Conversation

@UnsongK
Copy link

@UnsongK UnsongK commented Mar 15, 2026

Fix IME composition issue with Enter key.
When using CJK input methods(Chinese/Japanese/Korean), pressing Enter to confirm character selection was incorrectly triggering form submission.
This fix listens for compositionstart/compositionend events and blocks Enter keydown during active IME composition.

When using CJK input methods, pressing Enter to confirm character
selection was incorrectly triggering form submission. This fix listens
for compositionstart/compositionend events and blocks Enter keydown
during active IME composition.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant